using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace FreeSqlLearn {

	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class m_ry {

		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public int id { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string bz { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string daid { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string dlmc { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string dlpwd { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string dt { get; set; }

		[JsonProperty, Column(StringLength = 50)]
		public string dwmc { get; set; }

		[JsonProperty, Column(StringLength = 50, CanInsert = false)]
		public string isuse { get; set; } = "Y";

		[JsonProperty]
		public Guid? JxCode { get; set; }

		[JsonProperty]
		public DateTime? LastLoginTime { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public int LoginErrorCount { get; set; } = 0;

		[JsonProperty, Column(StringLength = 50)]
		public string sjh { get; set; }

	}

}
